package com.waikuai.shop.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 额度卡兑换请求对象
 * @author waikuai
 */
@Data
public class CardExchangeRequest {

    /**
     * 卡号
     */
    @NotBlank(message = "卡号不能为空")
    private String cardNumber;

    /**
     * 卡密码
     */
    @NotBlank(message = "卡密码不能为空")
    private String cardPassword;
}